"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var database_1 = __importDefault(require("../libs/database"));
var sequelize_1 = __importDefault(require("sequelize"));
var Orders = database_1.default.define('orders', {
    imgUrl: {
        type: sequelize_1.default.STRING,
        field: 'img_url'
    },
    ordersId: {
        type: sequelize_1.default.STRING
    },
    name: {
        type: sequelize_1.default.STRING
    },
    price: {
        type: sequelize_1.default.FLOAT
    },
    targetSite: {
        type: sequelize_1.default.STRING,
        field: 'target_site'
    },
    uId: {
        type: sequelize_1.default.STRING
    },
    num: {
        type: sequelize_1.default.INTEGER
    },
    logistics: {
        type: sequelize_1.default.STRING
    }
}, {
    freezeTableName: true // Model 对应的表名将与model名相同
});
Orders.sync();
// Orders.sync({force: true})
exports.default = Orders;
